import request from "./request.js";

//登录
export function login(data) {
  return request({
    method: "post",
    url: "/login",
    data
  });
}

//获取左侧菜单
export function getMenus(data) {
  return request({
    method: "get",
    url: "user/info",
    params: data
  });
}
